import website from '@/config/website'
import Cookies from 'js-cookie'
const Authorization = website.Authorization
export function getToken() {
  return Cookies.get(Authorization)
}

export function setToken(token) {
  return Cookies.set(Authorization, token)
}

export function removeToken() {
  return Cookies.remove(Authorization)
}

// export function getToken() {
//   return localStorage.getItem(Authorization)
// }

// export function setToken(token) {
//   return localStorage.setItem(Authorization, token)
// }

// export function removeToken() {
//   return localStorage.removeItem(Authorization)
// }
